using Digitalmes.Application.Mes.Masters.Lines;

namespace Digitalmes.Application.Mes.Equipments.StandardParts;

/// <summary>
/// 设备点检标件 DTO 对象。
/// </summary>
public sealed class EquipInspectionStandardPartsDto : Dto
{
    /// <summary>
    /// 标准件编号
    /// </summary>
    public string? StandardPartNo { get; set; }

    /// <summary>
    /// 标准件名称
    /// </summary>
    public string? StandardPartName { get; set; }

    /// <summary>
    /// 用于要检测的产线 Id（唯一）
    /// </summary>
    public long LineId { get; set; }

    /// <summary>
    /// 产线
    /// </summary>
    public MdLineDto? Line { get; set; }

    /// <summary>
    /// 用于要检测的工位 Id 集合。
    /// </summary>
    public long[]? WorkstationIds { get; set; }

    /// <summary>
    /// 工位编号集合
    /// </summary>
    public string[]? WorkstationCodes { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }

    public string? CreatedBy { get; set; }

    public DateTime CreatedTime { get; set; }

    public string? UpdatedBy { get; set; }

    public DateTime? UpdatedTime { get; set; }
}
